package com.test.nio_demo;

import java.util.ArrayList;
import java.util.List;

/**
 * Hello world!
 *
 */
public class App {
	public static void main(String[] args) {
		final String sourcePath = "d:\\jdk-7u51-windows-x64.exe";
		final String desPath1 = "jdk-7u51-windows-x64.zip";
		final String desPath2 = "d:\\2jdk-7u51-windows-x64.zip";
		final int bufferSize = 1024;
		 List<Thread> threads = new ArrayList<Thread>(10);
		
		long t1 = System.currentTimeMillis();
		System.out.println("start time:" + t1);
		for(int i = 0 ; i< 5; i++){
			 FileNioDemo f = new FileNioDemo(i,2,sourcePath,"d:\\" + i + desPath1, 1024);
			 f.start();
		}
		
		 
		
		
		 
	}
}
